//
//  AssessQuestionView.m
//  DeepBreathing
//
//  Created by rimi on 15/12/24.
//  Copyright © 2015年 rimi. All rights reserved.
//

#import "AssessQuestionView.h"

@implementation AssessQuestionView
-(void)layoutSubviews{
    
    
    [super layoutSubviews];
    [self reloadData];
}

-(void)reloadData{
    
    self.backgroundColor  = [self.dataSource backGroundColorForQuestionView:self];
    
//    NSString *question  = [self.dataSource questionDescriptionForQuestionView:self];
    
    NSInteger numberOfanswer = [self.dataSource numberOfAnswerInquetion:self];
    
    for (int i = 0 ; i < numberOfanswer; i++) {
//        NSString *answer = [self.dataSource questionView:self answerForQuestionAtIndex:i];
    }
    
    [self setNeedsDisplay];
    
}
-(void)drawRect:(CGRect)rect{
    
    
    
}
@end
